NewsParserPlugin\Controller\PostController S

Total Complexity 43
Dependencies 6
Dependents 0
Total lines 358
Lines of code 115
Logical lines of code 65
Comment lines 191
Methods 16
Properties 6

Methods 16

Method Rating Maintainability Complexity Lines of code
checkParsedData()
A
54 12 19
applyBeforAdapterModifiers()
A
57 9 16
applyPostModifiers()
S
62 5 11
create()
S
56 2 17
getPostOptionsModel()
S
66 2 8
addPostThumbnail()
S
71 2 6
addSource()
S
71 2 6
__construct()
S
71 1 6
getParsedData()
S
82 1 3
updateParsedDataBody()
S
80 1 3
applyBodyAdapter()
S
71 1 5
assignAuthorId()
S
78 1 3
assignSourceUrl()
S
80 1 3
createPost()
S
82 1 3
postModelsFactory()
S
80 1 3
templateModelsFactory()
S
79 1 3